/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DataStructures;

import java.util.ArrayList;

/**
 *
 * @author Manuel
 */
public class BugData {

    private ArrayList<Bug> bugList;
    private int noOfBugs;

    public void addBug(Bug b){
        bugList.add(b);
        noOfBugs = bugList.size();
    }

    public Bug getBug(int pos){
        return bugList.get(pos);
    }

}
